package com.zzyl.mapper;

import com.github.pagehelper.Page;
import com.zzyl.entity.NursingLevel;
import com.zzyl.vo.NursingLevelVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface NursingLevelMapper {

    void delete(Long id);

    NursingLevel findById(Long id);

    void update(NursingLevel nursingLevel);

    void insert(NursingLevel nursingLevel);
    List<NursingLevel> selectAll();

    Page<NursingLevel> pageFind(String name, Integer status);

    void updateStatus(Integer id, Integer status);
}
